#!/bin/sh
echo "Running Python Django Server"
# Runs Django server at background with public ip
sudo python manage.py runserver 0.0.0.0:80 &
echo "Running Redis Server"
# Runs node redis server at background 
cd node_modules
redis-server & 
cd ..
echo "Running Node Server"
# Runs node.js server
node node_server/lib/index.js &
node node_server/lib/chat.js &

echo "All servers up and running!"
